import request from '@/utils/request'

// 故障分析
export function faultAnalysis(data) {
    return request({
        url: '/dataAnalysis/faultAnalysis',
        method: 'post',
        data: data
    })
}


// 数据总览
export function dataOverview(data) {
    return request({
        url: '/dataAnalysis/dataOverview',
        method: 'post',
        data: data
    })
}

// 热量分析（瞬时热量）
export function heatAnalysis(data) {
    return request({
        url: '/dataAnalysis/heatAnalysis',
        method: 'post',
        data: data
    })
}

// 流量分析（瞬时流量）
export function velocityFlowAnalysis(data) {
    return request({
        url: '/dataAnalysis/velocityFlowAnalysis',
        method: 'post',
        data: data
    })
}

// 温度分析（室内温度）
export function temperatureAnalysis(data) {
    return request({
        url: '/dataAnalysis/temperatureAnalysis',
        method: 'post',
        data: data
    })
}
// 温度分析（室外温度，只到小区）
export function outTemperatureAnalysis(data) {
    return request({
        url: '/dataAnalysis/outTemperatureAnalysis',
        method: 'post',
        data: data
    })
}

// 供水温度
export function waterSupplyTemperatureAnalysis(data) {
    return request({
        url: '/dataAnalysis/waterSupplyTemperatureAnalysis',
        method: 'post',
        data: data
    })
}

// 回水温度
export function returnWaterTemperatureAnalysis(data) {
    return request({
        url: '/dataAnalysis/returnWaterTemperatureAnalysis',
        method: 'post',
        data: data
    })
}